[GLOBAL _outb]
[GLOBAL _outw]
[GLOBAL _outd]
[GLOBAL _inb]
[GLOBAL _inw]
[GLOBAL _ind]

_outb:
	mov dx, [esp + 4]
	mov al, [esp + 8]
	out dx, al
	ret
	
_outw:
	mov dx, [esp + 4]
	mov ax, [esp + 8]
	out dx, ax
	ret
	
_outd:
	mov dx, [esp + 4]
	mov eax, [esp + 8]
	out dx, eax
	ret
	
_inb:
	mov dx, [esp + 4]
	in al, dx
	ret

_inw:
	mov dx, [esp + 4]
	in ax, dx
	ret

_ind:
	mov dx, [esp + 4]
	in eax, dx
	ret
